home *** CD-ROM | disk | FTP | other *** search
/ Shareware Universe - The Gold Collection / Shareware Universe The Gold Collection.iso / info / null / nulcable.txt < prev   
Encoding:
Text File  |  1996-04-19  |  9.8 KB  |  218 lines

  1. HOW TO CONSTRUCT A NULL MODEM CABLE
  2.  
  3. Here's how to construct a null modem cable, used to connect 2 PC's by their
  4. serial ports.  This allows you to transfer files from one PC to another at up
  5. to 115,200 baud, providing a fast and easy way to transfer files which are
  6. too large to fit on diskettes, or solving the problem of transfers when 2
  7. PC's have incompatible disk drives.  A suitable cable can be purchased
  8. already made, or you can make one yourself.  In addition, you will need some
  9. type of software to manage the job.  There are commercial packages out there
  10. (LapLink and FastLynx are 2 examples), or you can get the appropriate
  11. software through shareware sources, or free one from other sources.  One such
  12. program is PC Magazine's ZCOPY, available from their sources, or as printed
  13. in PC Magazine, February 28, 1989 issue.
  14.  
  15.  
  16.  
  17. It's probably about the same price, and less fuss to buy the proper cable
  18. from a decent computer shop.  If your like me, however, you like making your
  19. own.
  20.  
  21. All the necessary parts are available at Radio Shack or a similar store. I
  22. paid about $13 for all that was needed at Radio Shack. Additionally,  you
  23. will need:
  24.  
  25.      Electrical or similar tape. Helps.
  26.      Small blade or phillips screwdriver (for the connector you buy)        
  27.      Tweezers or forceps
  28.      Sharp knife or wire stripper
  29.      Soldering iron & solder (if using the solder type)
  30.      Connector Crimping Tool (for AMP brand connectors)
  31.      Wire cutters
  32.  
  33. Eight or nine conductor cable works well, and allows for addition of
  34. connections if they should be needed in the future. To use the crimp type
  35. connections, you need the tool to crimp the pins onto the wires.  If you plan
  36. on making several cable in your lifetime, then the tool is well worth it. 
  37. Otherwise, you're probably better off paying someone else to make it.  Scout
  38. your local electronics store.  I've had good results with the connectors from
  39. made by AMP, sold by your finer electronics stores.  Also, Belden cable is
  40. some of the best stuff to buy, if your retailer sells it.
  41.  
  42. If the computers you are connecting have 9 pin serial connectors, you need
  43. the female (with holes) connectors on both ends of your cable. (IBM's and
  44. compatibles have male connectors for their 9 pin serial ports). If yours are
  45. female, make sure the connector is not a video connector instead of a serial
  46. port connector.  25 pin COM ports on IBM's and clones are typically male,
  47. also.  Whether you make a cable with 9 pin or 25 pin connectors (or one at
  48. each end), pre-made adapters can be purchased to convert from 9 pin to 25
  49. pin, and vice versa.  I made all mine with 9 pin ends, and use 9 pin to 25
  50. pin adapters with good results.
  51.  
  52.  
  53. TIP: Buy enough cable! As long as you're making it, make a length of about 8
  54. or 10 feet. I've made cables, when using shield, about 35' in length 
  55. with no problems. Better a little too long than too short. Avoid excess length,
  56. however. 
  57.  
  58. TIP: If you end up with Radio Shack parts, wrap electrical tape around the
  59. cable at each end to fit underneath the connector.  The connectors and cable
  60. at Radio Shack don't fit real snug together, allowing the cable to slip out
  61. and put stress on the electrical connections.  You'll see what I mean when
  62. you are closing the connector together.
  63.  
  64. TIP: If you are using Radio Shack cable, try to use the shield (the braided
  65. wire around the outside of the cable as the ground connection.  This task is
  66. made easier if you use Belden cable - it comes with a wire that runs along
  67. the shield, which is foil instead of that crummy braided wire.  By using the
  68. shielded part of the cable as the ground connection, it helps protect from
  69. electrical noise.  This is more important with longer cables.
  70.         **************************************************************      
  71.               The following is part of the docs for FastLynx:               
  72.  
  73.  
  74.  
  75. -------------------------- Cable Specifications ----------------------------
  76. Following is a description of the pin connections for a FastLynx 7-wire
  77. serial cable.  The cable is a 4-headed cable with a 9-pin and 25-pin female
  78. connector on both ends.  The cable is wired as follows:
  79.  
  80.     9 pin   25 pin          25 pin  9 pin
  81.     -----   ------          ------  -----
  82.     pin 5   pin 7   <---->  pin 7   pin 5   (Ground - Ground)
  83.  
  84.     pin 3   pin 2   <---->  pin 3   pin 2   (Transmit - Receive)
  85.     pin 7   pin 4   <---->  pin 5   pin 8   (RTS - CTS)
  86.     pin 6   pin 6   <---->  pin 20  pin 4   (DSR - DTR)
  87.  
  88.     pin 2   pin 3   <---->  pin 2   pin 3   (Receive - Transmit)
  89.     pin 8   pin 5   <---->  pin 4   pin 7   (CTS - RTS)
  90.     pin 4   pin 20  <---->  pin 6   pin 6   (DTR - DSR)
  91.  
  92. The ground wire is connected to the same pin on both ends.  The last three
  93. wires are a reverse of the prior three.
  94.  
  95. Following is a description of the pin connections for a FastLynx parallel
  96. cable.  The cable has a male DB25 connector at both ends.
  97.  
  98.             25 pin          25 pin
  99.             ------          ------
  100.             pin 2   <---->  pin 15
  101.             pin 3   <---->  pin 13
  102.             pin 4   <---->  pin 12
  103.             pin 5   <---->  pin 10
  104.             pin 6   <---->  pin 11
  105.  
  106.             pin 15  <---->  pin 2
  107.             pin 13  <---->  pin 3
  108.             pin 12  <---->  pin 4
  109.             pin 10  <---->  pin 5
  110.             pin 11  <---->  pin 6
  111.  
  112.             pin 25  <---->  pin 25
  113.  
  114. The second set of 5 wires is the reverse of the first set.
  115.  
  116.      ******************************************************************
  117.      The following cable will allow transfers using LapLink III.  However, it
  118. doesn't support the feature of installing the software from the remote.  The
  119. FastLynx cable above does work with all the features of FastLynx.  The
  120. following cable merely transmits and receives data.  It cheats by jumping
  121. connections at each end to trick the computer into thinking it's connected to
  122. another computer.  The FastLynx cable above allows the 2 PC's to actually
  123. communicate.  However, I haven't gotten LapLink III to install software from
  124. remote with FastLynx's cable, either.  FastLynx does it just fine when using
  125. a FastLynx type cable. Update 11/13/90: Uncle Heavy uploaded diagrams to make
  126. a true Laplink III cable. The instructions are identical to the FastLynx cable.
  127.  
  128.  
  129.                             IMPORTANT! See *
  130.                                     │
  131.                                     │
  132. Connector 1                         │                         Connector 2 
  133. -----------                         V                         -----------
  134. Transmit Data  2 <================\  /-------------------> 2  Transmit Data 
  135.                                         \/ 
  136. Receive Data   3 <-----------------/\====================> 3  Receive Data  
  137.              
  138. RTS            4 <─────┐                           ┌─────> 4  RTS           
  139.                        │                           │
  140. CTS            5 <─────┤                           ├─────> 5  CTS           
  141.                        │                           │
  142. DSR            6 <═════╪════╗                 ╔════╪═════> 6  DSR           
  143.                        │    ║                 ║    │
  144. Ground         7 <-----│----║-----------------║----│-----> 7  Ground        
  145.                        │    ║                 ║    │
  146. CD             8 <─────┘    ║                 ║    └─────> 8  CD            
  147.                             ║ See         See ║
  148. DTR            20 <═════════╝ **           ** ╚═════════> 20  DTR
  149.  
  150.  
  151. Explanation:
  152. ------------
  153.  
  154. *Connect pin #2 of one connector to pin #3 at the other end. This is known as
  155. a "pin 2 to 3 crossover". That way one computer receives what the other is
  156. transmitting.
  157.  
  158. At each end, connect pins #4, #5, & #8 together. 
  159.  
  160. Also at each end, connect pins #6 & #20.   
  161. ** If you are using a nine pin connector, this connection is not needed as
  162. there is no pin #20. A connection to pin #6 is not needed.           
  163.  
  164. TIP: Before you get too far, cut off about 3/4 inch of cable off one end of
  165. your length of cable. Then, strip the insulation and foil from this piece or
  166. use tweezers or forceps to remove the 9 wires from inside. Strip the
  167. insulation off both ends of 4 of these wires, 6 if making a 25 pin connector
  168. cable. These short pieces of wire will be needed to make the jumpers at each
  169. connector. Twist one end of each of 2 wires together, and solder them both
  170. pin #5. Then one wire can go to pin #4, and the other to pin #8 as in the
  171. diagram.
  172.  
  173. In case you want to know:
  174. -------------------------
  175. TD  =  Transmit Data
  176. RD  =  Receive Data
  177. RTS =  Request To Send
  178. CTS =  Clear To Send
  179. DSR =  Data Set Ready
  180. CD  =  Carrier Detect
  181. DTR =  Data Terminal Ready
  182.  
  183.  
  184.  
  185.  
  186. I received instructions from a BBS one day on how to construct a null modem
  187. cable, and decided to add some comments of my own.  Then, I stumbled upon the
  188. FastLynx documentation.  I've made their cable, and it works quite well (at
  189. least the serial cable does.  I think I made the parallel cable a little
  190. long.  Back to the crimping tool!).  So, this text is a culmination of all
  191. three - the original file, my comments and ideas, and part of the FastLynx
  192. documentation.               -"Joe's Cat"
  193.  
  194.         **************************************************************
  195.         
  196. Following is part of the Laplink III documentation uploaded by "Uncle Heavy":
  197.  
  198. **************************************
  199.     PARALLEL HIGH-SPEED CABLE-
  200. *   SHORT DONKEY-D THAT IS USED
  201. *   WITH THE PRINTER END OF A
  202. *   PRINTER CABLE!
  203. *
  204. *           DB25    CENTRONICS
  205. *           MALE      FEMALE
  206. *          SHIELD --- SHIELD
  207. *            2 -------- 32
  208. *            3 -------- 13
  209. *            4 -------- 12
  210. *            5 -------- 10
  211. *            6 -------- 11
  212. *           10 --------- 5
  213. *           11 --------- 6
  214. *           12 --------- 4
  215. *           13 --------- 3
  216. *           15 --------- 2
  217. *           25 -------- 30
  218.